export interface RoleInfo {
    roleName: string;
    value: string;
}

export interface UserInfo {
    id: string | number;
    userId: string | number;
    username: string;
    realname: string;
    avatar: string;
    desc?: string;
    homePath?: string;
    tenantid?: string | number;
    roles: RoleInfo[];
    orgCode?: string;
}

export interface LoginInfo {
    multi_depart?: string | number;
    userInfo?: object;
    departs?: [];
    tenantList?: [];
    isLogin?: boolean;
}

export interface LoginParams {
    username: string;
    password: string;
}
